package cn.tedu.crm.orders.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.hpsf.Decimal;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("orders")
public class Orders {
    @ApiModelProperty(value = "订单id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;
    @ApiModelProperty(value = "订单日期")
    private Date orderDate;
    @ApiModelProperty(value = "客户id")
    private Long userId;
    @ApiModelProperty(value = "转单进度")
    private Integer transferProgress;
    @ApiModelProperty(value = "设计师姓名")
    private String designer;
    @ApiModelProperty(value = "设计师转单进度")
    private Integer designerProgress;
    @ApiModelProperty(value = "创建订单时间")
    private Date createTime;
    @ApiModelProperty(value = "创建订单人")
    private Long createUser;
    @ApiModelProperty(value = "更新订单时间")
    private Date updateTime;
    @ApiModelProperty(value = "更新订单人")
    private Long updateUser;
    @ApiModelProperty(value = "方案预演关联ID")
    private Long schemeId;
    @ApiModelProperty(value = "员工表关联ID")
    private Long staffId;
    @ApiModelProperty(value = "部门表关联ID")
    private Long deptId;
    @ApiModelProperty(value = "订单费用")
    private BigDecimal cost;
    @ApiModelProperty(value = "订单定金")
    private BigDecimal orderCost;
    @ApiModelProperty(value = "订金关联id")
    private Long depositId;
}
